package com.example.materialviewpagerdemo.Presenter;

//import com.example.materialviewpagerdemo.bean.DataModel;
import com.example.materialviewpagerdemo.bean.NanxiaoData;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface CurrentDataControllern {

    @GET("getData")
    Call<List<NanxiaoData>> query(@Query("num") Integer number, @Query("dtu") Integer dtu);

    @GET("getOneData")
    Call<NanxiaoData> queryOne(@Query("dtu") Integer dtu);
//
//    @GET("getDataByTime")
//    Call<List<DataModel>> queryable(@Query("start") String start, @Query("end") String end, @Query("dtu") Integer dtu);

}
